package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 学生监护人
 *
 */
@TableName(value = "student_guardian")
public class StudentGuardian implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<StudentGuardian> createExample(){
		return new Example<StudentGuardian>(StudentGuardian.class);
	}

	/**  */
	@TableId(value = "guardian_id")
	private Long guardianId;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 名字 */
	private String name;

	/** 电话 */
	@TableField(value = "phone_no")
	private String phoneNo;

	/** 关系 爸爸 妈妈 爷爷 奶奶 其他 */
	private String relationship;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getGuardianId() {
		return this.guardianId;
	}

	public void setGuardianId(Long guardianId) {
		this.guardianId = guardianId;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getRelationship() {
		return this.relationship;
	}

	public void setRelationship(String relationship) {
		this.relationship = relationship;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
